<?php

class Faq extends Controller {

	function Faq()
	{
		parent::Controller();	
	}
	
	function index()
	{

        //load page description
        $this->load->model('pageheadersmodel'); 
        $data["pagedescritpion"] = $this->pageheadersmodel->get_header('faq');
            
        //load faqs
        $this->load->model('faqmodel'); 
        $data["faqs"] = $this->faqmodel->get_faq();       

        $this->load->model('glossarymodel');

        //load page header
        $this->load->model('pageheadersmodel'); 
        $data["header"] = $this->pageheadersmodel->get_header('faq');

        $this->load->view('website/default/head', array("document_title" => DOCUMENT_TITLE . "Frequently Asked Questions")); 
        $this->load->view('website/default/header');  
        $this->load->view('website/faq/faq', $data);   
        $this->load->view('website/default/footer');   

	}
}

?>